package com.potenza.goods.auth.sys.feign;

import io.renren.modules.sys.entity.SysUserEntity;
import io.renren.modules.sys.entity.SysUserTokenEntity;
import org.springframework.stereotype.Service;

import java.util.Set;

@Service
public class ShiroServiceFeignClientImpl implements ShiroServiceFeignClient {
    @Override
    public Set<String> getUserPermissions(Long userId) {
        System.out.println("getUserPermissions进入熔断器");
        return null;
    }

    @Override
    public SysUserTokenEntity queryByToken(String accessToken) {
        System.out.println("queryByToken进入熔断器");
        return null;
    }

    @Override
    public SysUserEntity queryUser(Long userId) {
        System.out.println("queryUser进入熔断器");
        return null;
    }
}
